All Pairs Almost Shortest Paths
نویسندگان
چکیده
Let G = (V;E) be an unweighted undirected graph on n vertices. A simple argument shows that computing all distances in G with an additive one-sided error of at most 1 is as hard as Boolean matrix multiplication. Building on recent work of Aingworth, Chekuri and Motwani, we describe an ~ O(minfn3=2m1=2; n7=3g) time algorithmAPASP2 for computing all distances in G with an additive one-sided error of at most 2. The algorithm APASP2 is simple, easy to implement, and faster than the fastest known matrix multiplication algorithm. Furthermore, for every even k > 2, we describe an ~ O(minfn2 2 k+2m 2 k+2 ; n2+ 2 3k 2 g) time algorithm APASPk for computing all distances in G with an additive one-sided error of at most k. We also give an ~ O(n2) time algorithm APASP1 for producing stretch 3 estimated distances in an unweighted and undirected graph on n vertices. No constant stretch factor was previously achieved in ~ O(n2) time. We say that a weighted graph F = (V;E0) k-emulates an unweighted graph G = (V;E) if for every u; v 2 V we have G(u; v) F (u; v) G(u; v) + k. We show that every unweighted graph on n vertices has a 2-emulator with ~ O(n3=2) edges and a 4-emulator with ~ O(n4=3) edges. These results are asymptotically tight. Finally, we show that any weighted undirected graph on n vertices has a 3-spanner with ~ O(n3=2) edges and that such a 3-spanner can be built in ~ O(mn1=2) time. We also describe an ~ O(n(m2=3 + n)) time algorithm for estimating all distances in a weighted undirected graph on n vertices with a stretch factor of at most 3.
منابع مشابه
Estimating All Pairs Shortest Paths in Restricted Graph Families: A Unified Approach
In this paper we show that a very simple and efficient approach can be used to solve the all pairs almost shortest path problem on the class of weakly chordal graphs and its different subclasses. Moreover, this approach works well also on graphs with small size of largest induced cycle and gives a unified way to solve the all pairs almost shortest path and all pairs shortest path problems on di...
متن کاملEstimating all pairs shortest paths in restricted graph families : a unified approach ✩ Feodor
In this paper we show that a very simple and efficient approach can be used to solve the all pairs almost shortest path problem on the class of weakly chordal graphs and its different subclasses. Moreover, this approach works well also on graphs with small size of largest induced cycle and gives a unified way to solve the all pairs almost shortest path and all pairs shortest path problems on di...
متن کاملUsing a Divide and Conquer Method for Routing in a PC Vehicle Routing Application
Vehicle routing is an area of both practical and theoretical importance. Unfortunately, routing problems are notably difficult to solve since almost all vehicle routing problems are NP-hard. However, we have discovered that when reduced to its simplest form, solving a single vehicle routing problem, without capacity and time window constraints is quite similar to the Traveling Salesman Problem ...
متن کاملCombining All Pairs Shortest Paths and All Pairs Bottleneck Paths Problems
We introduce a new problem that combines the well known All Pairs Shortest Paths (APSP) problem and the All Pairs Bottleneck Paths (APBP) problem to compute the shortest paths for all pairs of vertices for all possible flow amounts. We call this new problem the All Pairs Shortest Paths for All Flows (APSP-AF) problem. We firstly solve the APSP-AF problem on directed graphs with unit edge costs ...
متن کاملAll Pairs Shortest Paths Algorithms
Given a communication network or a road network one of the most natural algorithmic question is how to determine the shortest path from one point to another. In this paper we deal with one of the most fundamental problems of Graph Theory, the All Pairs Shortest Path (APSP) problem. We study three algorithms namely The FloydWarshall algorithm, APSP via Matrix Multiplication and the Johnson’s alg...
متن کاملAll - Pairs Shortest Paths in O ( n 2 ) Time with High Probability
We present an all-pairs shortest path algorithm whose running time on a complete directed graph on n vertices whose edge weights are chosen independently and uniformly at random from [0, 1] is O(n2), in expectation and with high probability. This resolves a long-standing open problem. The algorithm is a variant of the dynamic all-pairs shortest paths algorithm of Demetrescu and Italiano [2006]....
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Electronic Colloquium on Computational Complexity (ECCC)
دوره 4 شماره
صفحات -
تاریخ انتشار 1996